# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xmltoman
pkgver=0.4
pkgrel=0
pkgdesc="Convert xml to man pages in groff format or html"
url="http://xmltoman.sourceforge.net/"
arch="noarch"
license="GPL"
depends="perl-xml-parser"
source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make PREFIX=/usr
}

package() {
	cd "$builddir"
	make install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="347722731e2101ecd0619f88f4efdbca534810c96977a1281af685e8a61f4c1a826a71a9f0e3af43cc899936640787366a78077f36d23a9efcfeb789dbcfae22  xmltoman-0.4.tar.gz"
